<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue</title>
    <script type="text/javascript" src="../../js/vue.js"></script>

</head>
<body>
    <div id="root">
        <h5 v-pre>VUE</52>
        <h5 v-pre>当前n的值：{{n}}</h5>
        <button @click="n++">点击n+1</button>
    </div>
</body>
<script type="text/javascript">
    Vue.config.performance = false;
    const vm = new Vue({
        el:'#root',
        data:{
            n:1
        },
    })

</script>
</html>